package cn.yht.wang.mapper;


import cn.yht.wang.bean.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface RoleMapper {
    @Select({"select id,role_name roleName,enabled,create_by createBy,create_time createTime",
            "from sys_role",
    "where id=#{id}"})
    SysRole selectById(Long id);
}
